package com.smedi.ismedi.web.starter.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: xulinjun
 * @Date: 2021-7-7 10:09
 */
@Data
@Component
@ConfigurationProperties(prefix = "web-starter.exception")
public class ExceptionProperty {
    /**
     * 日志打印错误堆栈
     */
    private boolean printTrace = true;

    /**
     * 返回错误堆栈
     */
    private boolean returnTrace = false;
}
